//
//  SocialTagSearchView.h
//  ShowYork
//
//  Created by hxh on 2020/12/21.
//  Copyright © 2020 hxh. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN


@protocol DynamicTopicSearchViewDelegate <NSObject>

@optional
/// 实时监听文字变化
- (void)textChange:(NSString *)text;
/// 点击键盘的搜索栏
- (void)textSearch:(NSString *)text;
/// 移除当前控制前
- (void)removeCurrentViewController;
@end

@interface DynamicTopicSearchView : UIView

@property (nonatomic,weak)id<DynamicTopicSearchViewDelegate>delegate;

@property (nonatomic,copy)NSString *placeholderLabel;

@property (nonatomic,assign)BOOL becomeFirstResponder;



@end

NS_ASSUME_NONNULL_END
